LIBS = ../../lib/libeai.a
TGTS = eai2host host2eai e2hbatch

all: $(TGTS)

eai2host: eai2host.c ../../lib/libeai.a
	buildserver -s EAI2HOST -o eai2host -f eai2host.c -f $(LIBS)

host2eai: host2eai.c ../../lib/libeai.a
	buildserver -s HUBAEJB:HOST2EAI -s HUBSEJB:HOST2EAI -o host2eai -f host2eai.c -f $(LIBS)

#	If Change Service Name	
#	buildserver -s EAIAEJB:HOST2EAI -s EAISEJB:HOST2EAI -o host2eai -f host2eai.c -f $(LIBS)

e2hbatch: host2eai.c ../../lib/libeai.a
	buildserver -s E2HBATCH:HOST2EAI -o e2hbatch -f host2eai.c -f $(LIBS)

clean:
	rm $(TGTS)
